@extends('layouts.app')

@section('content')
    <div id="Main">
        <div class="sep20"></div>
        <div class="box">
            <div class="header"><a href="/">V2EX</a> <span class="chevron">&nbsp;›&nbsp;</span> 找回密码 &nbsp;<li class="fa fa-lock"></li></div>
            <div class="cell">
                @if (count($errors) > 0)
                    <div class="problem">请解决以下问题然后再提交：
                        <ul>
                            @foreach ($errors->all() as $error)
                                <li>{{ $error }}</li>
                            @endforeach
                        </ul>
                    </div>
                @endif
                @if (session('status'))
                    <div class="message">
                        {{ session('status') }}
                    </div>
                @endif
                <form method="POST" action="{{ url('password/email') }}">
                    {{ csrf_field() }}
                    <table cellpadding="5" cellspacing="0" border="0" width="100%">
                        <tbody>
                        <tr>
                            <td width="120" align="right">邮箱</td>
                            <td width="auto" align="left"><input type="text" class="sl" name="email"  autofocus="autofocus" autocorrect="off" spellcheck="false" autocapitalize="off" placeholder="电子邮箱地址" value="{{ old('email') }}"></td>
                        </tr>

                        <tr>
                            <td width="120" align="right"></td>
                            <td width="auto" align="left">
                                <input type="submit" class="super normal button" value="发送邮件">
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </form>
            </div>

        </div>
    </div>
@endsection
